package com.ufgov.agcfs.baseData.entity;

import java.io.Serializable;


public class Eacc implements Serializable {
	private static final long serialVersionUID = 1L;

	private String id;
	private String nd;
	private String eaccCode;
	private String eaccName;
	//private String pCode;
	private String pcode;

	public String getPcode() {
		return pcode;
	}

	public void setPcode(String pcode) {
		this.pcode = pcode;
	}

	public Eacc() {
	}
	
	public String getId() {
		return this.id;
	}
	
	public void setId(String id) {
		this.id = id;
	}

	public String getNd() {
		return this.nd;
	}
	
	public void setNd(String nd) {
		this.nd = nd;
	}
	
	public String getEaccCode() {
		return this.eaccCode;
	}
	
	public void setEaccCode(String eaccCode) {
		this.eaccCode = eaccCode;
	}


	public String getEaccName() {
		return this.eaccName;
	}

	public void setEaccName(String eaccName) {
		this.eaccName = eaccName;
	}

//	public String getPCode() {
//		return this.pCode;
//	}
//
//	public void setPCode(String pCode) {
//		this.pCode = pCode;
//	}
	
//	public boolean equals(Object other) {
//		if (this == other) {
//			return true;
//		}
//		if (!(other instanceof Eacc)) {
//			return false;
//		}
//		Eacc castOther = (Eacc)other;
//		return 
//			this.nd.equals(castOther.nd)
//			&& this.eaccCode.equals(castOther.eaccCode);
//	}

	public int hashCode() {
		final int prime = 31;
		int hash = 17;
		hash = hash * prime + this.nd.hashCode();
		hash = hash * prime + this.eaccCode.hashCode();
		
		return hash;
	}

}